﻿@model IEnumerable<ExtMember>
@{
    ViewData["Description"] = ViewBag.SiteConfig.Description;
    ViewData["Title"] = "公司成员";
    Layout = null;
}
@inject ArticleCateService articleCateService
<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="@ViewData["Description"]">
    <meta name="author" content="Cdeng">
    <title>@ViewBag.SiteConfig.SiteName - @ViewData["Title"]</title>
    <link href="~/lib/layui/css/layui.css" rel="stylesheet">
    <link href="~/home/css/main.css" rel="stylesheet">
   
</head>
<body>
 <partial name="_Header" />
    <div class="layui-container" style="margin-top:10px;">
        <div class="layui-bg-gray" style="padding:10px;">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-panel" style="text-align:left;padding:10px;">
                        <span class="layui-breadcrumb">
                            <a href="/">Home</a>
                            <a><cite>@ViewData["Title"]</cite></a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-container">
        <div class="layui-bg-gray" style="padding:10px;">
            <div class="layui-row layui-col-space15">
                @foreach (var item in Model)
                {
                    <div class="layui-col-md6">
                        <div class="layui-panel" style="text-align:center;padding:10px;">
                            <div class="layui-inline">
                                <img src="@item.Photo" width=240 height=330 class="layui-circle">
                            </div>
                            <div style="margin:auto;padding:10px;height:40px;font-size:24px; line-height:40px;color:red;">@item.Name</div>
                            <div style="margin:auto;padding:5px;height:30px;font-size:16px; line-height:30px;">@item.Duty</div>
                            <div style="margin:auto;padding:5px;height:30px;font-size:16px;line-height:30px;">@item.Duties</div>
                        </div>
                    </div>
                }
            </div>
        </div>
    </div>
    <div class="layui-container">
        <div class="layui-footer" style="text-align:center;margin:20px;padding:20px;">
            <div style="margin-top:20px;padding:20px;">
                <p>@ViewBag.SiteConfig.Copyright <a href="http://www.beian.miit.gov.cn/" target="_blank">@ViewBag.SiteConfig.Beian</a></p>
            </div>
        </div>
    </div>

     <script src="~/lib/layui/layui.js"></script>
    <script>
        layui.use(['laypage', 'element', 'layer'], function () {
            var laypage = layui.laypage
                , layer = layui.layer
                , element = layui.element;
        });
    </script>
</body>
</html>